package com.zhl.gradledemo.model;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Getter
@Setter
@Table(name = "t_order")
public class Order implements Serializable {

    private static final long serialVersionUID = 1516965259625608619L;

    @Id
    private String id;
    /**订单名称*/
    @Column
    private String name;
    /**消息id*/
    @Column(name = "message_id")
    private String messageId;


}
